// pages/my/index.js
Page({
    data: {

    },
    onLoad: function (options) {
        console.log('my页面的onLoad');
    },
    onShow: function () {
        console.log('my页面的onShow');
        let {userInfo} = getApp()
        if(userInfo){
            this.setData(userInfo)
        }
    },
    handleUser(){
        wx.navigateTo({
          url: '/pages/login/index',
        })
    }
})